package hu.village.service;

import hu.village.pojo.Account;
import hu.village.pojo.PageBean;
import hu.village.pojo.User;
import org.springframework.stereotype.Service;

@Service
public interface UserService {
    void sendRegisterEmail(String email);

    String Register(User user);

    User login(User user);

    void updateUser(User user);

    PageBean selectAccount(Integer page, Integer pageSize);

    void reportAccount(String reportMan,Integer id);

    Integer selectReportAccount(Account account);

    void repelReport(Account account);

    void selectHistoryAccount(User user);
}
